import json


def read_json():
    with open("../data/data.json", "r", encoding="utf-8") as f:
        return json.load(f)


"""
期望返回的数据结果[(1, 2, 3),(1, 2, 3),(1, 2, 3)]
"""


def get_data():
    arr = []
    datas = read_json()
    print("datas=", datas)
    for data in datas.values():
        arr.append((data["a"], data["b"], data["exp"]))
    print(arr)


get_data()
